#include "ui_word.h"
#include "ui_wordLogic.h"
#include "LL_General.h"
#include "LL_Handler.h"
#include "LL_Linked_List.h"
#include "LL_Timer.h"
#include "LL_ButtonEx.h"


void ui_wordInit(void)
{
    //背景
    llBackgroundQuickCreate(ID_BACKGROUND,240,240,true,RGB888(0xf1f1f1),0);

    //按键
    llButtonQuickCreate(ID_BUTTON_0,ID_BACKGROUND,50,80,146,63,(uint8_t *)"world",FONT_LIB_C_SIMSUN_9,RGB888(0x000000),RGB888(0x55aaff),RGB888(0x55aaff),0xFFFFFFFF,0xFFFFFFFF,BUTTON_DIS_TYPE_COLOR,false);
    nButtonSetEnabled(ID_BUTTON_0,true);
    nButtonSetCheckable(ID_BUTTON_0,false);
    nButtonSetKeyValue(ID_BUTTON_0,0);

    ui_wordLogicInit();
}

void ui_wordLoop(void)
{
    ui_wordLogicLoop();
}

void ui_wordQuit(void)
{
    ui_wordLogicQuit();
}

